Skip to content

Temporarily revert use of core::ffi::CStr #509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

nicholasbishop
Copy link
Member

@nicholasbishop nicholasbishop commented Sep 8, 2022

The move of CStr from std to core is not due to become stable until 1.64. The first nightly where it could be used without the unstable core_c_str feature was 2022-07-16, which is still pretty recent. Let's back this change out for now to give users pinned to older versions more time.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits): See the
    Rewriting History guide for
    help.
  • Update the changelog (if necessary)

The move of `CStr` from `std` to `core` is not due to become stable
until 1.64. The first nightly where it could be used without the
unstable `core_c_str` feature was 2022-07-16, which is still pretty
recent. Let's back this change out for now to give users pinned to older
versions more time.
@nicholasbishop
Copy link
Member Author

nicholasbishop commented Sep 8, 2022

@phip1611 I missed this when looking at #506, I'd like to back this part of the change out for now so that we don't break compilation on older Rust nightlies just yet, and file an issue to add it back in later.

@phip1611
Copy link
Member

phip1611 commented Sep 8, 2022

Yeah, I see. It is very new. Should we add a - [ ] Does it change the MSRV? If so, update the Changelog. (or sth similar) to the MR template?

@phip1611 phip1611 merged commit 15db097 into rust-osdev:main Sep 8, 2022
@phip1611
Copy link
Member

phip1611 commented Sep 8, 2022

Created follow-up ticket #510

@nicholasbishop nicholasbishop deleted the bishop-revert-core-cstr branch September 9, 2022 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants